<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<% String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; %> 
<html>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<script type="text/javascript">
	function getProductTypeId(va){
			window.parent.getProductType(va);
		}
</script>
  <table>
  <tr><td>
  <select name='productTypeId' id='productTypeId'  onchange="getProductTypeId(productTypeId.value)">
		<option value="-1">无</option>
	<c:forEach items="${sessionScope.tbCompanyProductTypeList}" var="tbCompanyProductType" varStatus="status">
		<option value="${tbCompanyProductType.productTypeId }" ${tbCompanyProductType.productTypeId == sessionScope.tbProductPrice.tbProduct.productTypeId?'selected':''}>${tbCompanyProductType.tbProductType.productTypeName }</option>
	</c:forEach>
</select>
  </td></tr>
  </table>
  </body>
</html>
